Skip to content

SQL: Fix RLIKE bug and improve testing for RLIKE statement#40354

Merged
astefan merged 4 commits intoelastic:masterfrom
astefan:34609_fix
Mar 23, 2019
Merged

SQL: Fix RLIKE bug and improve testing for RLIKE statement#40354
astefan merged 4 commits intoelastic:masterfrom
astefan:34609_fix

Conversation

@astefan
Copy link
Copy Markdown
Contributor

@astefan astefan commented Mar 22, 2019

This PR mainly fixes a bug similar with #39931 (but for RLIKE statement) by slightly refactoring RegexMatch/Like/RLike classes and adds integration tests for RLIKE.

Fixes #34609.

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

@astefan astefan changed the title SQL: Improve testing for RLIKE statement SQL: Fix RLIKE bug and improve testing for RLIKE statement Mar 22, 2019
@astefan
Copy link
Copy Markdown
Contributor Author

astefan commented Mar 22, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

1 similar comment
@astefan
Copy link
Copy Markdown
Contributor Author

astefan commented Mar 22, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

Copy link
Copy Markdown
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

return field().foldable();
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary whitespace

@astefan
Copy link
Copy Markdown
Contributor Author

astefan commented Mar 22, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

Copy link
Copy Markdown
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@costin costin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@astefan astefan merged commit 7562d6e into elastic:master Mar 23, 2019
@astefan astefan deleted the 34609_fix branch March 23, 2019 04:36
astefan added a commit that referenced this pull request Mar 23, 2019
* Refactor RegexMatch to support both LIKE and RLIKE
* Add integration tests for RLIKE
* Polish the rest of tests

(cherry picked from commit 7562d6e)
astefan added a commit that referenced this pull request Mar 23, 2019
* Refactor RegexMatch to support both LIKE and RLIKE
* Add integration tests for RLIKE
* Polish the rest of tests

(cherry picked from commit 7562d6e)
astefan added a commit that referenced this pull request Mar 23, 2019
* Refactor RegexMatch to support both LIKE and RLIKE
* Add integration tests for RLIKE
* Polish the rest of tests

(cherry picked from commit 7562d6e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL: add tests for RLIKE

6 participants